package com.zbkj.common.response;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 设备明细分页数据响应对象
 * </p>
 *
 * @author dazongzi
 * @since 2025-06-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ZfbDeviceBatchesItemsPageDataResponse对象", description="设备明细分页数据响应对象")
public class ZfbDeviceBatchesItemsPageDataResponse implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "设备ID")
    private Long id;

    @ApiModelProperty(value = "设备批次ID")
    private Integer batchesId;

    @ApiModelProperty(value = "设备mac地址")
    private String deviceMac;

    @ApiModelProperty(value = "设备SN编号")
    private String sn;

    @ApiModelProperty(value = "状态(1=待分配,2=已分配,3=损坏)")
    private Integer status;

    @ApiModelProperty(value = "绑定时间")
    private Date bindTime;

    @ApiModelProperty(value = "是否损坏")
    private Boolean isBad;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdAt;

    @ApiModelProperty(value = "消费时间")
    private Date useTime;

    @ApiModelProperty(value = "订单号")
    private String orderNo;

}
